package it.koutifaris.travianmap.view.mainview;

import it.koutifaris.travianmap.dal.TravianServerService.TravianServer;
import it.koutifaris.travianmap.view.commandlistview.ListElement;

class ServerListElement extends ListElement {

	private final TravianServer server;

	public ServerListElement(TravianServer server) {
		super(server.getServerId(), new OpenServerMapCommand(server));
		this.server = server;
	}

	public TravianServer getServer() {
		return server;
	}

}
